home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 4
/
Precision Software Applications Silver Collection Volume 4 (1993).iso
/
new
/
s3dsiz20.arj
/
S3DSIZ20.DOC
< prev
Wrap
Text File
|
1993-08-14
|
4KB
|
105 lines
Program: S3 Delimitted Field Size Utility (DSIZE)
Version: 2.0
Author: George Spafford
Date: 08/14/93
Purpose:
To identify the number of records in a file, the maximum and minimum number
of fields in the records encountered as well as the maximum and minimum size
of each field that is encountered.
Procedure:
There are two .EXE files, DSIZE2.EXE and DSIZE386.EXE. The first one is aimed
at users with 8088 and 80286 systems. DSIZE386 is optimized for use with 80386
and above systems.
Usage: DSIZE file.nam delim
File.nam This is the file you want to check.
Delim This is the field delimitter that you want to
use.
Example: DSIZE TEST.FIL ,
TEST.FIL will be processed using the comma as a field
separator.
DSIZE expects records to be terminated with the standard DOS carriage return
(Decimal 10) and line feed (Decimal 13) characters. You will get an overflow
error message if the records are not thusly delimitted.
The program can identify on the screen up to 36 fields per record. This is a
limitation of the screen size. The program can handle many, many more easily.
If there are enough interested parties, in other words, if people register this
program, I will release a version that can log the entire data structure to
either a DOS file or a device such as a printer.
For each record that is processed, the program will display the field specs.
At the bottom of the screen, you will see a maximum and minimum field count
spec. This will tell you if the data file has a variable number of fields.
When customers send me these, it is a hanging offense. If the MAX and MIN
counts are equal, then you know there is always an equal number of fields.
For each field, a minimum and maximum size in bytes is given. The format:
Field Number: Min: nnnn Max: nnnn
For some reason, people always change field sizes without telling anybody.
If nothing else, you can use this program to determine the maximum number
of fields and the maximum size for each field rather than importing blindly.
History:
v2.0 08/14/93
I have completely rewritten the program.
v1.0 Written sometime in the deep, dark past.
============================
Please Register This Program
============================
The S3 DSIZE program is distributed as SHAREWARE. It is not Public Domain.
If you find that this program aids you in your work, it must be registered
within 30 days of your first usage of it. Continued use of the program without
paying for it is a violation of the site license and constitutes software
piracy. This product is priced at $10 US per concurrently used copy.
Registration of this product will allow me to continue developing
specialized software for you, the consumer, at shareware prices.
Payments (please do not send cash) can be sent to:
George Spafford
3003 Lakeshore Drive, #216
St. Joseph, MI 49085
USA
I can also be reached on the EXEC-PC BBS and the Channel One BBS.
SHAREWARE DISTRIBUTORS:
You may distribute this program as long as it is made clear that you are
only a distributor and that the program is not registered until they make
payment to me. Please do not charge more than $5 per disk to distribute
SFP to your customers.
::::: Legal :::::
DSIZE IS DISTRIBUTED AS IS. THE AUTHOR (GEORGE SPAFFORD) MAKES
NO WARRANTIES OF APPROPRIATENESS, MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. THE AUTHOR ASSUMES NO LIABILITY FOR ANY DAMAGES
(INCLUDING LOST PROFITS, WAGES OR ANY OTHER CONSEQUENTIAL OR INCIDENTAL
DAMAGES) ARISING OUT OF THE MISUSE OR INABILITY TO USE THIS PRODUCT.